<{include "public/header.html"}>

	<!-- content -->

	<{foreach $ads as $v}>
	<{if $v.position eq 1}>
	<div class="ad980">
		<{if empty($v.url)}>
		<img src="<{thumb($v.logo, 980, 80)}>" />
		<{else}>
			<a href="<{$v.url}>" target="_blank"><img src="<{thumb($v.logo, 980, 80)}>" /></a>
		<{/if}>
	</div>
	<{/if}>
	<{/foreach}>



	<div class="content">
		<!--特价商品 Start-->
		<div class="tj fl">
			<div class="index_tj_tt" style="border:0;">
				<h3>特价商品</h3>
			</div>
		
			<div class="tj_list">
				<ul class="hotlist index_tj" style="height:421px;border:0px">
					<{foreach $tjs as $v}>

					<li>
						<span class="fl hotimg">
							<a href="<{$app}>?m=product&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><img src="<{$public}>/images/load.gif" data-original="<{thumb($v.logo, 60,60)}>" title="<{$v.name}>" /></a>
						</span>
						<span class="fl hotname tjname_index">
							<a href="<{$app}>?m=product&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><{$v.name}></a>
							<span class="lh20"><span class="cred num strong">￥</span><span class="num1 cred"><{$v.money}></span><s class="num c888">￥ <{$v.smoney}></s></span>
						</span>
						<div class="clear"></div>
					</li>
					
					<{/foreach}>	

				

				
								
						<div class="clear"></div>
					</li>
							
				</ul>
			</div>
		</div>
 		<!--特价商品 End-->
 	
 		<!--幻灯片 Start -->
		<div class="jdt fl">
			<div id="jdtslide" style="visibility:hidden;">
				<{foreach $ads as $v}>
				<{if $v.position eq 5}>
					<a href="<{$v.url}>"><img src="<{thumb($v.logo, 533, 300, 0)}>" alt="" width="533" height="300" /></a>
				<{/if}>
				<{/foreach}>
			
			</div>
		</div>
		<!--幻灯片 end -->
		
		<!--网站公告 Start-->
		<div class="fr action_list">
			<div class="action_tt"><h3>网站公告</h3></div>
				<ul>
					<{foreach $notices as $v}>
					<li><a href="<{$app}>?m=article&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><{$v.name}></a></li>
					<{/foreach}>

				
				</ul>
			</div>
			<div class="clear"></div>
		</div>
		<!--网站公告 end-->
		
		<div class="index_main">
			<!--新品推荐 Start-->
			<div class="pro_tuijian">
				<div class="index_fenlei_tt" style="border:0;"><h3>新品推荐</h3></div>
				<div class="tuijian_list">
					<{foreach $tuijians as $v}>
					<div class="prolist_1" >
						<p class="prolist_img"><a href="<{$app}>?m=product&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><img src="<{$public}>/images/load.gif" data-original="<{thumb($v.logo, 150,150)}>" title="<{$v.name}>" /></a></p>
						
						<p class="prolist_name"><a href="<{$app}>?m=product&a=index&id=<{$v.id}>" title="<{$v.name}>" target="_blank"><{$v.name}></a></p>
					
						<p><span class="money1">￥<{<{$v.money}>}></span> <s class="num c888">￥<{$v.smoney}></s></p>
					</div>
					<{/foreach}>						

					<div class="clear"></div>
				</div>
			</div>
			<!--新品推荐 end-->


			<!--所有分类 和对应分类热销排行 Start-->

			<{foreach $allcats as $v}>
		
			<div class="index_fenlei mat10">
			
				<div class="index_fenlei_tt"><h3 class="fl"><{$v.catname}></h3><span class="fr"><a href="<{$app}>?m=product&a=plist&cid=<{$v.id}>" title="<{$v.catname}>" target="_blank">更多>></a></span></div>
				
				<div class="index_prolist">
					<div class="fl prolist_left">
						<{foreach $v.newlists as $nl}>
						<div class="prolist_1">
							<p class="prolist_img"><a href="<{$app}>?m=product&a=index&id=<{$nl.id}>" title="<{$nl.name}>" target="_blank"><img src="<{$public}>/images/load.gif" data-original="<{thumb($nl.logo, 150, 150, 0)}>" title="<{$nl.name}>" /></a></p>
							<p class="prolist_name"><a href="<{$app}>?m=product&a=index&id=<{$nl.id}>" title="<{$nl.name}>" target="_blank"><{$nl.name}></a></p>
							<p><span class="money1">￥<{$nl.money}></span> <s class="num c888">￥ <{$nl.smoney}></s></p>
						</div>	
						<{/foreach}>
					
					</div>


				<div class="fr prolist_right">
					<div class="prolist_right_tt"><h3><{$v.catname}>热销排行</h3></div>
					<ul class="hotlist index_hot" style="height:421px;">
							<{foreach $v.selllists as $sl}>
							<li>
								<span class="fl hotimg">
									<a href="<{$app}>?m=product&a=index&id=<{$sl.id}>" title="<{$sl.name}>" target="_blank"><img src="<{$public}>/images/load.gif" data-original="<{thumb($sl.logo, 60, 60, 0)}>" title="<{$sl.name}>" /></a>
								</span>
								
								<span class="fl hotname hotname_index">
									<a href="<{$app}>?m=product&a=index&id=<{$sl.id}>" title="<{$sl.name}>" target="_blank"><{$sl.name}></a>
									<span class="lh20">
										<span class="cred num strong">￥</span><span class="num1 cred"><{$sl.money}></span>
									</span>
								
								</span>
								
								<div class="clear"></div>
							</li>
							<{/foreach}>


						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</div>


			<{/foreach}>

			<!--所有分类 和对应分类热销排行 End-->

		</div>

	<{foreach $ads as $v}>
	<{if $v.position eq 2}>
	<div class="ad980">
		<{if empty($v.url)}>
		<img src="<{thumb($v.logo, 980, 80)}>" />
		<{else}>
			<a href="<{$v.url}>" target="_blank"><img src="<{thumb($v.logo, 980, 80)}>" /></a>
		<{/if}>
	</div>
	<{/if}>
	<{/foreach}>


		<!-- footer -->
<{include "public/footer.html"}>


